package com.zz.bsea.basic;

import java.util.Date;
import java.util.HashSet;

public class OrderDTO {
private int  id;
	
	//下单时间
	private Date createTime;
	//下单用户名
	private String  userName;
	
	//配送地址
	private String  address;
	
	//订单状态，默认0表示新建， 1表示完成
	private int  stats=0;
	//set和list的区别是，set集合里面不会有重复的数据，List可以有重复的数据
	HashSet<OrderDetail> details;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public int getStats() {
		return stats;
	}

	public void setStats(int stats) {
		this.stats = stats;
	}

	public HashSet<OrderDetail> getDetails() {
		return details;
	}

	public void setDetails(HashSet<OrderDetail> details) {
		this.details = details;
	}
	
	

}
